using System.Collections.Generic;

namespace Joy.Erp.Ufida.Pmc
{
    /// <summary>
    /// 展平后的需求项
    /// </summary>
    public class FlattenedDemandItemDto
    {
        /// <summary>
        /// 料号
        /// </summary>
        public string ItemCode { get; set; }

        /// <summary>
        /// 料品名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 料品规格
        /// </summary>
        public string ItemSpec { get; set; }

        /// <summary>
        /// 总需求数量（合并后的绝对数量）
        /// </summary>
        public decimal TotalDemandQuantity { get; set; }

        /// <summary>
        /// 总领用数量（合并后的绝对数量）
        /// </summary>
        public decimal TotalIssuedQuantity { get; set; }

        /// <summary>
        /// 可分配套数
        /// </summary>
        public int AvailableKitCount { get; set; }

        /// <summary>
        /// 实际分配套数
        /// </summary>
        public int AllocatedKitCount { get; set; }

        /// <summary>
        /// 关联的需求项列表
        /// </summary>
        public List<DemandOrderDto> DemandItems { get; set; }
    }
}

